package aidturith.ihm.action.go;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

import aidturith.Constant;
import aidturith.ihm.panel.proto.TablePanel;

public class GoToSerieAction extends AbstractAction {

	private static final long serialVersionUID = 1L;

	private TablePanel panel;

	public GoToSerieAction(TablePanel panel) {
		this.panel = panel;
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		//JTable table = (JTable)e.getSource();
		//int modelRow = Integer.valueOf( e.getActionCommand() );
		//((DefaultTableModel)table.getModel()).removeRow(modelRow);
		if(Constant.DEBUG) System.out.println("go to "+panel.getSelected_object());
	}

}
